import java.util.Scanner;

public class Max {
    public static int Max2(int x, int y) {
//        System.out.println(Math.max(x, y));
        return Math.max(x, y);
    }

    public static void Max3(int x, int y, int z) {
        System.out.println(Math.max(Max2(x, y), z));
    }

    public static void main(String[] args) {
        Scanner n1 = new Scanner(System.in);
        int x = n1.nextInt();
        Scanner n2 = new Scanner(System.in);
        int y = n2.nextInt();
        Scanner n3 = new Scanner(System.in);
        int z = n3.nextInt();

        Max3(x, y, z);
    }
}
